package Homework;

public class Person {
    String name;
    String address;
    int age;
    Person(){

    }
    Person(String name,String address,int age){
        this.address = address;
        this.age = age;
        this.name = name;
    }
    void eat(){
        System.out.println(name+"在吃饭");
    }
    void sleep(){
        System.out.println(name+"在睡觉");
    }
    void drink(){
        System.out.println(name+"在喝水");
    }
    void sayHi(){
        System.out.println("大家好");
    }

}
